package com.hhz.generation.constant;

/**
 * @author Hz~
 * @version 1.0
 * @date 2020/11/25 15:51
 * @Description 自定义常量
 */
public class Constant {
    /**
     * 根目录
     */
    public static final String ROOT_DIR = "D:\\code\\study\\generation-code\\generation-code-example\\";
    /**
     * 生成相对地址
     */
    public static final String OUTPUT_DIR = ROOT_DIR + "src\\main\\java";
    /**
     * 模板生成路径
     */
    public static final String TEMPLATE_DIR = ROOT_DIR + "src\\main\\resources\\static";
    /**
     * 表名, 注意大小写
     */
    public static final String[] TABLE_NAMES = new String[]{"jly_device_case"};
    /**
     * 数据库地址
     */
    public static final String URL = "jdbc:mysql://192.168.1.204:3306/tele-jly?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC";
    /**
     * 数据库驱动
     */
    public static final String DRIVER = "com.mysql.cj.jdbc.Driver";
    /**
     * 用户名
     */
    public static final String USER_NAME = "tele";
    /**
     * 密码
     */
    public static final String PASS_WORD = "123456";
    /**
     * 父包路径
     */
    public static final String PARENT_PACKAGE = "com.tele.jhy";
    /**
     * 需要去掉的表名前缀
     */
    public static final String PREFIX_TABLE = "jly_";
    /**
     * 作者
     */
    public static final String AUTHOR = "Hz~";
    /**
     * 查询sql
     */
    public static final String SQL = "SELECT * FROM ";
}
